import request from '@/utils/request'
import { downloadAction } from '@/api/requestEvents'

//获得项目计划简表分页
export function techPlanList(params: any) {
  return request({
    url: '/project/tech/plan-list',
    method: 'get',
    params,
  })
}

//获得项目计划简表详情
export function techPlanDetail(params: any) {
  return request({
    url: '/project/tech/plan-detail',
    method: 'get',
    params,
  })
}

//导出科技简表信息 Excel
export function techPlanExport(params: any) {
  downloadAction(
    '/project/tech/export-excel',
    'get',
    params,
    '科技简表列表.xls'
  )
}
